<template>
<div>
  <el-container>
    <el-aside width="200px">
      <SideMenu></SideMenu>
    </el-aside>
    <el-container>
      <el-header>
        <Header></Header>
      </el-header>
      <el-main>
        <Tabs></Tabs>
        <div style="padding: 0 15px"><router-view/></div>
      </el-main>
    </el-container>
  </el-container>
</div>
</template>

<script>
import Tabs from "@/components/Tabs";
import Header from "@/components/Header";
import SideMenu from "@/components/SideMenu";
export default {
  name: "Home",
  components: {Header, SideMenu,Tabs},
  comments:{
    SideMenu,
    Header
  }
}
</script>

<style scoped>
.el-header{
  background-color: #545c64;
  color: #333;
  text-align: center;
  line-height: 60px;
}
.el-container{
  padding: 0;
  margin: 0;
  height: 100vh;
}

.el-aside {
  background-color: #D3DCE6;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  color: #333;
  padding: 0;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
</style>